ispell.el (ispell-region): Do not prefix sent string by comment in autoconf mode
authorAgustin Martin <agustin.martin@hispalinux.es>
Tue, 6 Nov 2012 16:33:56 +0000 (17:33 +0100)
committerAgustin Martin <agustin.martin@hispalinux.es>
Tue, 6 Nov 2012 16:33:56 +0000 (17:33 +0100)
commitf92573f30b29f4b0f7a1c61ab0f1faf82a54e76e
tree746c1c6fb076694a4dbe46bc3b55251b8b683f69
parentc43a192337842b1c46bc122b06175ec1786721ab
ispell.el (ispell-region): Do not prefix sent string by comment in autoconf mode

 This commit changes some of the `in-comment' ocurrences to more specific
 `add-comment', set only if comment prefix is to be added.

 When in comment, old code prefixed string by comment string to let ispell
 know this is part of a comment string.

 This is only supported in some modes. In particular, this is not supported in
 autoconf mode where adding the comment string messes everything up because
 ispell tries to spellcheck the `dnl' string header causing misalignments in
 some cases (debbugs.gnu.org: #12768).
lisp/ChangeLog
lisp/textmodes/ispell.el